package com.campus.happy;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.widget.ImageView;

public class Img  extends Activity{

	public void onCreate(Bundle b)
	{
		super.onCreate(b);
		ImageView img=new ImageView(this);
		setContentView(img);
		
		Load.down(img, getIntent().getData().toString());
	}
	static void send(Activity a,String url)
	{
		Intent i=new Intent(a,Img.class);
		i.setData(Uri.parse(url));
		a.startActivity(i);
	}
	
}
